package model.entityes.exception;

public class UserException extends model.UserException
{
    private static final long serialVersionUID = 1L;

    public static UserException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	UserException err = new UserException();
	err.setUserException(userMessage);
	return err;
    }
    
    public static UserException errorIdEqNull()
    {
	return UserException.getExceptionWhitUserMessage("Error: ID == null");
    }
}
